package by.grsu.hdm.media;

public abstract class Media {
	
	private String id;
	private String mediaName;
	private long duration;
	
	protected Media(){}
	
	public Media(String id, String mediaName, long duration){
		this.id = id;
		this.mediaName = mediaName;
		this.duration = duration;
	}
	
	public abstract String mediaInformation();
	
	public String getMediaName(){
		return mediaName;
	}
	
	public long getDuration(){
		return duration;
	}

	public String getId() {
		return id;
	}

	
}
